#ifndef	__DRIVER_I2C_TP_H__
#define	__DRIVER_I2C_TP_H__

#include <stdbool.h>
#include <stdint.h>

extern void i2c_tp_write_byte(uint8_t nData);
extern uint8_t i2c_tp_read_byte(uint8_t fAck);
extern uint8_t i2c_tp_write_reg(uint8_t addr,uint16_t reg,uint8_t value);
extern uint8_t i2c_tp_read_reg(uint8_t addr,uint16_t reg);
extern uint8_t i2c_tp_read_group(uint8_t addr,uint16_t reg,uint8_t *buff,uint8_t size);
extern uint8_t i2c_tp_write_reg_group(uint8_t addr,uint16_t reg,uint8_t *value,uint8_t len);

void ctp_hynitron_update(void);
void tp_text(void);

#endif
